import http from "../utils/http.js"

export function goodsdetail(data) {
	return http({
		url: "/shop/goods/detail",
		data,
		method: "get"
	})
}
export function goodsReputation(data) {
	return http({
		url: "/shop/goods/reputation/v2",
		data,
		method: "post"
	})
}
export function discountsCoupons(data) {
	return http({
		url: "/discounts/coupons",
		data,
		method: "get"
	})
}
export function shoppingInfo(data) {
	return http({
		url: "/shopping-cart/info",
		data,
		method: "get"
	})
}